#include "transformFeature.h"

TransformFeature::TransformFeature()
{
    //初始值全设置成-1
    transformId = -1;
    resultId = -1;
    featureType = 8;
    transformType = -1;
    targetFeature = nullptr;

}

TransformFeature::~TransformFeature()
{
}

int TransformFeature::getTransformId()
{
    return this->transformId;
}

int TransformFeature::getTransformType()
{
    return this->transformType;
}

int TransformFeature::getResultId()
{
    return this->resultId;
}

BaseFeature* TransformFeature::getTargetFeature()
{
    return this->targetFeature;
}

double TransformFeature::getAngel()
{
    return this->angel;
}

int TransformFeature::getSubEdgeIndex()
{
    return this->subEdgeIndex;
}

gp_Vec TransformFeature::getTranslationVec()
{
    return this->translationVec;
}

void TransformFeature::setTransformId(int transformId)
{
    this->transformId = transformId;
}

void TransformFeature::setTransformType(int transformType)
{
    this->transformType = transformType;
}

void TransformFeature::setResultId(int resultId)
{
    this->resultId = resultId;
}

void TransformFeature::setTargetFeature(BaseFeature* targetFeature)
{
    this->targetFeature = targetFeature;
}

void TransformFeature::setAngel(double angel)
{
    this->angel = angel;
}

void TransformFeature::setSubEdgeIndex(int index)
{
    this->subEdgeIndex = index;
}

void TransformFeature::setTranslationVec(gp_Vec vec)
{
    this->translationVec = vec;
}
